package com.ai.notices.common.vo.login;

import java.util.List;

import com.ai.notices.common.vo.BaseVo;

public class MenuDisplayVO extends BaseVo implements Comparable<MenuDisplayVO> {

    private static final long serialVersionUID = 1L;
    private int menuId;
    private String menuTitle;
    private String menuType;
    private String menuPic;
    private String menuDesc;
    private String menuUrl;
    private int parentMenuId;
    private long menuOrder;
    private String openFlag;
    private List<MenuDisplayVO> menuList;
    private List<MenuDisplayVO> catList;
    private String systemCode;
    private String menuVersion;
    private String menuModule;
    private String menuFullUrl;

    public String getSystemCode() {
        return this.systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getMenuUrl() {
        return this.menuUrl;
    }

    public int getParentMenuId() {
        return this.parentMenuId;
    }

    public void setParentMenuId(int parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public int getMenuId() {
        return this.menuId;
    }

    public void setMenuId(int menuId) {
        this.menuId = menuId;
    }

    public String getMenuTitle() {
        return this.menuTitle;
    }

    public void setMenuTitle(String menuTitle) {
        this.menuTitle = menuTitle;
    }

    public String getMenuType() {
        return this.menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuPic() {
        return this.menuPic;
    }

    public void setMenuPic(String menuPic) {
        this.menuPic = menuPic;
    }

    public String getMenuDesc() {
        return this.menuDesc;
    }

    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    public List<MenuDisplayVO> getCatList() {
        return this.catList;
    }

    public void setCatList(List<MenuDisplayVO> catList) {
        this.catList = catList;
    }

    public List<MenuDisplayVO> getMenuList() {
        return this.menuList;
    }

    public void setMenuList(List<MenuDisplayVO> menuList) {
        this.menuList = menuList;
    }

    public long getMenuOrder() {
        return this.menuOrder;
    }

    public void setMenuOrder(long menuOrder) {
        this.menuOrder = menuOrder;
    }

    public String getMenuVersion() {
        return this.menuVersion;
    }

    public void setMenuVersion(String menuVersion) {
        this.menuVersion = menuVersion;
    }

    public String getMenuModule() {
        return this.menuModule;
    }

    public void setMenuModule(String menuModule) {
        this.menuModule = menuModule;
    }

    public String getOpenFlag() {
        return this.openFlag;
    }

    public void setOpenFlag(String openFlag) {
        this.openFlag = openFlag;
    }

    public String getMenuFullUrl() {
        return this.menuFullUrl;
    }

    public void setMenuFullUrl(String menuFullUrl) {
        this.menuFullUrl = menuFullUrl;
    }

    public int compareTo(MenuDisplayVO o) {
        if (getMenuOrder() > o.getMenuOrder())
            return 1;
        if (getMenuOrder() < o.getMenuOrder()) {
            return -1;
        }
        return 0;
    }

}
